cmake_minimum_required(VERSION 3.14)
project(logging)

set(CMAKE_CXX_STANDARD 14)
if(NOT TARGET spdlog)
    # Stand-alone build
    find_package(spdlog REQUIRED)
endif()
add_executable(logging main.cpp)
target_link_libraries(logging PRIVATE spdlog::spdlog)